//
//  LLUserModel.m
//  UserUse
//
//  Created by Yiwi on 16/10/24.
//  Copyright © 2016年 CJPC. All rights reserved.
//

#import "LLUserModel.h"

@implementation LLUserModel

//SYNTHESIZE_SINGLETON_FOR_CLASS(LLUserModel)

-(id)initWithCoder:(NSCoder *)aDecoder{    self = [super init];
    if (self)    {
        self.UserTelephone = [aDecoder decodeObjectForKey:@"USERTELEPHONE"];
        self.passWord = [aDecoder decodeObjectForKey:@"PASSWORD"];
        self.UserName = [aDecoder decodeObjectForKey:@"USERNAME"];
        self.UserIconUrl = [aDecoder decodeObjectForKey:@"USERICONURL"];
        self.userid = [aDecoder decodeObjectForKey:@"USERID"];
        self.usernumber = [aDecoder decodeObjectForKey:@"USERNUMBER"];
        
    }
    return self;
}

-(void)encodeWithCoder:(NSCoder *)aCoder{
    [aCoder encodeObject:self.UserTelephone forKey:@"USERTELEPHONE"];
    [aCoder encodeObject:self.passWord forKey:@"PASSWORD"];
    [aCoder encodeObject:self.UserName forKey:@"USERNAME"];
    [aCoder encodeObject:self.UserIconUrl forKey:@"USERICONURL"];
    [aCoder encodeObject:self.userid forKey:@"USERID"];
    [aCoder encodeObject:self.usernumber forKey:@"USERNUMBER"];
}


@end
